package com.wfy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

/**
 *
 */
@EnableCaching
@SpringBootApplication
@ServletComponentScan("com.wfy")
@ComponentScan(value = "com.wfy", lazyInit = true)
public class SpringBootDemoApplication {

//    public static void main(String[] args) {
//        new SpringApplicationBuilder(SpringBootDemoApplication.class).web(true).run(args);
//        SystemService.printKeyLoadMessage();
//    }

    public static void main(String[] args) {
        SpringApplication.run(SpringBootDemoApplication.class, args);
    }
}
